import {ApiFetch} from "../api/apiHandler";
import {BaseUrl} from "../constant/constant";

class PointModel {

    constructor() {
        this.url = BaseUrl
        // this.url = 'http://101.200.142.211:3580/'

    }

    get(params) {
        // let end = this.url + 'houtai/getgamevideohandler'
        let end = this.url + 'getexpform'
        let req = new ApiFetch(end)
        return req.fetch(params)
    }

    changeExp(params) {
        let end = this.url + 'changeexpform'
        let req = new ApiFetch(end)
        return req.fetch(params)
    }
}

export default PointModel
